import _ from 'lodash'

interface IInfoListRowItem {
  id: string
  title: string
  value: string | number
  showContent: string

}

export interface IUserInfoParams {
  name?: string
  gender?: number
  birthday?: string
  real_name?: string
  intro?: string

}

 export const INFO_LIST_ROW_DATA: IInfoListRowItem[] = [
  {
    id: _.uniqueId('common_row'),
    title: '头像',
    value: '',
    showContent: ''
  },
  {
    id: _.uniqueId('common_row'),
    title: '昵称',
    value: '',
    showContent: ''


  },
  {
    id: _.uniqueId('common_row'),
    title: '简介',
    value: '',
    showContent: ''


  },
  {
    id: _.uniqueId('common_row'),
    title: '性别',
    value: '',
    showContent: ''


  },
  {
    id: _.uniqueId('common_row'),
    title: '生日',
    value: '',
    showContent: ''


  },
]


export interface IDateSlectedOptions  {
  selectedValues: []
  selectedIndexes: []
  selectedOptions: ISelectedOptionsItem[]
}



interface ISelectedOptionsItem {
  text: string 
  value: string 
}